/*****************
* readrfile.c
* The most simplistic C program ever written.
* An epileptic monkey on crack could write this code.
*****************/
#include <stdio.h>
#include <stdlib.h>
#define DATAFILE "http://alicia.netropolis.com.ar/index.html"

int main(void)
{
	FILE *f = fopen("http://alicia.netropolis.com.ar/index.html","r");
	int ch;
	if(f == NULL) {
		printf("%s%c%c\n",
		"Content-Type:text/html;charset=iso-8859-1",13,10);
		printf("<TITLE>Failure</TITLE>\n");
		printf("<P><EM>Unable to open data file, sorry!</EM>"); }
	else {
		while((ch=getc(f)) != EOF)
			putchar(ch);
		fclose(f); 
	}
	printf("\n");
	return 0;
}
